import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

Switch buildSwitch() {
  return Switch(
    activeColor: Colors.white,
    activeTrackColor: Colors.green,
    inactiveThumbColor: Colors.white,
    inactiveTrackColor: Colors.grey,
    value: true,
    onChanged: (bool v) {},
  );
}

CupertinoSwitch buildCupertinoSwitch() {
  return new CupertinoSwitch(
    value: true,
    onChanged: (bool value) {},
  );
}
